package cn.edu.scau.cmi.luoxintai.client;

import cn.edu.scau.cmi.luoxintai.simpleFactoryMethod.MeatFactory;
import java.util.*;

public class SimpleFactoryClient {
	
	public static void main(String[] args){
		System.out.printf("Choose your dinner and you only need to input the number : \n 1.Meat,2.Beef,3.Chicken\n");
		MeatFactory Wens = new MeatFactory();
		Scanner in=new Scanner(System.in);
		while(true) {
			int choose = in.nextInt();
			Wens.productStart(choose);	
		}
	}
	
}
